package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 风险事件列对象 r_org_risk_event
 * 
 * @author ruoyi
 * @date 2022-09-25
 */
public class ROrgRiskEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long orgId;

    /** 风险类型 */
    @Excel(name = "风险类型")
    private String riskType;

    /** 风险名称 */
    @Excel(name = "风险名称")
    private String name;


    /** 地点（经纬度） */
    @Excel(name = "地点（经纬度）")
    private String coordinate;

    /** 摄像头 */
    @Excel(name = "摄像头")
    private String device;

    /** 截图保存图片地址 */
    @Excel(name = "截图保存图片地址")
    private String pictureAddress;

    /** 保存视频片段地址 */
    @Excel(name = "保存视频片段地址")
    private String videoAddress;

    /** 准确度 */
    @Excel(name = "准确度")
    private Double accuracy;
    /** 风险等级 */
    private Integer ristType;

    public Integer getRistType() {
        return ristType;
    }

    public void setRistType(Integer ristType) {
        this.ristType = ristType;
    }

    public Double getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Double accuracy) {
        this.accuracy = accuracy;
    }

    public String getPictureAddress() {
        return pictureAddress;
    }

    public void setPictureAddress(String pictureAddress) {
        this.pictureAddress = pictureAddress;
    }

    public String getVideoAddress() {
        return videoAddress;
    }

    public void setVideoAddress(String videoAddress) {
        this.videoAddress = videoAddress;
    }

    public String getRiskType() {
        return riskType;
    }

    public void setRiskType(String riskType) {
        this.riskType = riskType;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orgId", getOrgId())
            .append("name", getName())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
